﻿package com.shangda.entity;

import java.util.Arrays;

public class ReceiveData {
	private String date;
	private String time;
	private int sewageId;
	private double t;
	private double ph;
	private double orp;
	private double Do;
	private double Flow;
	private double ls1,ls2;
	private int pumpStatus1,pumpStatus2,pumpStatus3,pumpStatus4,pumpStatus5,pumpStatus6;
	private double sumFlow,acturalFlow;
	//PLC设备的接收
	private int elevateLs,waterLs;
	private int []pumpStatus;
	
	//面源污染新增的参数 cod,AN...
	private float []params;
	
	//电流电压参数
	private float eleU;
	private float eleA;
	
	public ReceiveData(){}
	
	
	
	public ReceiveData(String date, String time, int sewageId, double t,
			double ph, double orp, double do1, double flow, double ls1,
			double ls2, int pumpStatus1, int pumpStatus2,
			int pumpStatus3, int pumpStatus4, int pumpStatus5,
			int pumpStatus6, double sumFlow, double acturalFlow,
			int elevateLs, int waterLs, int[] pumpStatus) {
		super();
		this.date = date;
		this.time = time;
		this.sewageId = sewageId;
		this.t = t;
		this.ph = ph;
		this.orp = orp;
		Do = do1;
		Flow = flow;
		this.ls1 = ls1;
		this.ls2 = ls2;
		this.pumpStatus1 = pumpStatus1;
		this.pumpStatus2 = pumpStatus2;
		this.pumpStatus3 = pumpStatus3;
		this.pumpStatus4 = pumpStatus4;
		this.pumpStatus5 = pumpStatus5;
		this.pumpStatus6 = pumpStatus6;
		this.sumFlow = sumFlow;
		this.acturalFlow = acturalFlow;
		this.elevateLs = elevateLs;
		this.waterLs = waterLs;
		this.pumpStatus = pumpStatus;
	}
	
	



	@Override
	public String toString() {
		return "ReceiveData [date=" + date + ", time=" + time + ", sewageId="
				+ sewageId + ", t=" + t + ", ph=" + ph + ", orp=" + orp
				+ ", Do=" + Do + ", Flow=" + Flow + ", ls1=" + ls1 + ", ls2="
				+ ls2 + ", pumpStatus1=" + pumpStatus1 + ", pumpStatus2="
				+ pumpStatus2 + ", pumpStatus3=" + pumpStatus3
				+ ", pumpStatus4=" + pumpStatus4 + ", pumpStatus5="
				+ pumpStatus5 + ", pumpStatus6=" + pumpStatus6 + ", sumFlow="
				+ sumFlow + ", acturalFlow=" + acturalFlow + ", elevateLs="
				+ elevateLs + ", waterLs=" + waterLs + ", pumpStatus="
				+ Arrays.toString(pumpStatus) + ", params="
				+ Arrays.toString(params) + ", eleU=" + eleU + ", eleA=" + eleA
				+ "]";
	}



	public float getEleU() {
		return eleU;
	}



	public void setEleU(float eleU) {
		this.eleU = eleU;
	}



	public float getEleA() {
		return eleA;
	}



	public void setEleA(float eleA) {
		this.eleA = eleA;
	}



	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public int getSewageId() {
		return sewageId;
	}
	public void setSewageId(int sewageId) {
		this.sewageId = sewageId;
	}
	public double getT() {
		return t;
	}
	public void setT(double t) {
		this.t = t;
	}
	public double getPh() {
		return ph;
	}
	public void setPh(double ph) {
		this.ph = ph;
	}
	public double getOrp() {
		return orp;
	}
	public void setOrp(double orp) {
		this.orp = orp;
	}
	public double getDo() {
		return Do;
	}
	public void setDo(double do1) {
		Do = do1;
	}
	public double getFlow() {
		return Flow;
	}
	public void setFlow(double flow) {
		Flow = flow;
	}
	public double getLs1() {
		return ls1;
	}
	public void setLs1(double ls1) {
		this.ls1 = ls1;
	}
	public double getLs2() {
		return ls2;
	}
	public void setLs2(double ls2) {
		this.ls2 = ls2;
	}
	public int getPumpStatus1() {
		return pumpStatus1;
	}
	public void setPumpStatus1(int pumpStatus1) {
		this.pumpStatus1 = pumpStatus1;
	}
	public int getPumpStatus2() {
		return pumpStatus2;
	}
	public void setPumpStatus2(int pumpStatus2) {
		this.pumpStatus2 = pumpStatus2;
	}
	public int getPumpStatus3() {
		return pumpStatus3;
	}
	public void setPumpStatus3(int pumpStatus3) {
		this.pumpStatus3 = pumpStatus3;
	}
	public int getPumpStatus4() {
		return pumpStatus4;
	}
	public void setPumpStatus4(int pumpStatus4) {
		this.pumpStatus4 = pumpStatus4;
	}
	public int getPumpStatus5() {
		return pumpStatus5;
	}
	public void setPumpStatus5(int pumpStatus5) {
		this.pumpStatus5 = pumpStatus5;
	}
	public int getPumpStatus6() {
		return pumpStatus6;
	}
	public void setPumpStatus6(int pumpStatus6) {
		this.pumpStatus6 = pumpStatus6;
	}
	public double getSumFlow() {
		return sumFlow;
	}
	public void setSumFlow(double sumFlow) {
		this.sumFlow = sumFlow;
	}
	public double getActuralFlow() {
		return acturalFlow;
	}
	public void setActuralFlow(double acturalFlow) {
		this.acturalFlow = acturalFlow;
	}
	public int getElevateLs() {
		return elevateLs;
	}
	public void setElevateLs(int elevateLs) {
		this.elevateLs = elevateLs;
	}
	public int getWaterLs() {
		return waterLs;
	}
	public void setWaterLs(int waterLs) {
		this.waterLs = waterLs;
	}
	public int[] getPumpStatus() {
		return pumpStatus;
	}
	public void setPumpStatus(int[] pumpStatus) {
		this.pumpStatus = pumpStatus;
	}



	public float[] getParams() {
		return params;
	}



	public void setParams(float[] params) {
		this.params = params;
	}
	
	

}
